<?php

if (($_GET['Lst_marque'] >= 1) && ($_GET['Lst_modele'] >= 1)) {

    header('Location: consult_modele.php?modele='.$_GET['Lst_modele']);
} elseif (($_GET['Lst_marque'] >= 1) && ($_GET['Lst_modele'] < 1)) {

    header('Location: consult_marque.php?marque='.$_GET['Lst_marque']);
} else {

    header('Location: index.php');
}

?>
